package com.eling.elcms.travel.service.impl;

import com.eling.elcms.core.service.impl.GenericManagerImpl;
import com.eling.elcms.travel.dao.ICheckOutSetlDetailDao;
import com.eling.elcms.travel.model.CheckOutSetlDetail;
import com.eling.elcms.travel.service.ICheckOutSetlDetailManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CheckOutSetlDetailManagerImpl extends GenericManagerImpl<CheckOutSetlDetail, Long> implements ICheckOutSetlDetailManager{

	ICheckOutSetlDetailDao checkOutSetlDetailDao;
	
	@Autowired
	private ICheckOutSetlDetailManager checkOutSetlDetailManager;

	@Autowired
	public void setCheckOutSetlDetailDao(ICheckOutSetlDetailDao checkOutSetlDetailDao) {
		this.dao = checkOutSetlDetailDao;
		this.checkOutSetlDetailDao = checkOutSetlDetailDao;
	}

	@Override
	public List<CheckOutSetlDetail> queryCheckOutDetail(CheckOutSetlDetail cond) {
		List<CheckOutSetlDetail> list = checkOutSetlDetailManager.query(cond);
		return list;
	}

}
